Release 10.1A: OpenEdge Development:
Progress 4GL Reference


DUMP-LOGGING-NOW( ) method

Writes the accumulated query statistics for the specified query to the log file.

Return type: LOGICAL

Applies to: Query object handle

Syntax
query-handle:DUMP-LOGGING-NOW(reset-expression) 

query-handle

A variable of type HANDLE that represents the handle to a query object.

reset-expression

A logical expression where TRUE indicates that Progress clear the query statistics after writing the statistics to the log file, and FALSE indicates that Progress leave the query statistics unchanged.

If Progress writes the query statistics to the log file successfully, the method returns TRUE. If Progress does not write the query statistics to the log file, the method returns FALSE. Progress does not write query statistics to the log file under the following conditions:

You can use the DUMP-LOGGING-NOW( ) method only when the logging level of the QryInfo log entry type is set to level 2 (Basic) or higher. To set the logging level of the QryInfo log entry type, use the LOG-ENTRY-TYPES attribute or the Log Entry Types (-logentrytypes) startup parameter with the logging level option.

If the logging level of the QryInfo log entry type is set to level 2 (Basic), the DUMP-LOGGING-NOW( ) method writes query statistics to the log file only if the BASIC-LOGGING attribute is set to TRUE before the query started.

For more information about the Log Entry Types (-logentrytypes) startup parameter, see OpenEdge Deployment: Startup Command and Parameter Reference .

For more information about logging query statistics, see OpenEdge Development: Debugging and Troubleshooting .


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095